package com.beiye.drivertransport.utils;

import com.google.gson.annotations.SerializedName;

/**
 * Created by ky on 2018/2/9.
 */

public class CheckUpdate {

    /**
     * result : true
     * data : {"android-version":2,"android-version-name":"V0.5","android-url":"/upload/apk/safe-study-0.1.apk","ios-version":2,"ios-version-name":"V0.5","ios-url":"","updateMsg":"1ã\u0080\u0081ä¼\u0098å\u008c\u00962ã\u0080\u0081è§£å\u0086³äº\u0086é\u0083¨å\u0088\u0086bug"}
     * msg : 操作成功
     * rows : null
     * total : null
     * code : 0
     */

    private boolean result;
    private DataBean data;
    private String msg;
    private Object rows;
    private Object total;
    private int code;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getRows() {
        return rows;
    }

    public void setRows(Object rows) {
        this.rows = rows;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBean {
        /**
         * android-version : 2
         * android-version-name : V0.5
         * android-url : /upload/apk/safe-study-0.1.apk
         * ios-version : 2
         * ios-version-name : V0.5
         * ios-url :
         * updateMsg : 1ãä¼å2ãè§£å³äºé¨åbug
         */

        @SerializedName("android-version")
        private int androidversion;
        @SerializedName("android-version-name")
        private String androidversionname;
        @SerializedName("android-url")
        private String androidurl;
        @SerializedName("ios-version")
        private int iosversion;
        @SerializedName("ios-version-name")
        private String iosversionname;
        @SerializedName("ios-url")
        private String iosurl;
        private String updateMsg;

        public int getAndroidversion() {
            return androidversion;
        }

        public void setAndroidversion(int androidversion) {
            this.androidversion = androidversion;
        }

        public String getAndroidversionname() {
            return androidversionname;
        }

        public void setAndroidversionname(String androidversionname) {
            this.androidversionname = androidversionname;
        }

        public String getAndroidurl() {
            return androidurl;
        }

        public void setAndroidurl(String androidurl) {
            this.androidurl = androidurl;
        }

        public int getIosversion() {
            return iosversion;
        }

        public void setIosversion(int iosversion) {
            this.iosversion = iosversion;
        }

        public String getIosversionname() {
            return iosversionname;
        }

        public void setIosversionname(String iosversionname) {
            this.iosversionname = iosversionname;
        }

        public String getIosurl() {
            return iosurl;
        }

        public void setIosurl(String iosurl) {
            this.iosurl = iosurl;
        }

        public String getUpdateMsg() {
            return updateMsg;
        }

        public void setUpdateMsg(String updateMsg) {
            this.updateMsg = updateMsg;
        }
    }
}
